<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<div align="center">
	<!-- previous page -->
	<c:if test="${page>0}">
		<a href="<portlet:actionURL>
		<portlet:param name="action" value="SCROLL_PAGE"/>
		<portlet:param name="page" value="0"/>
		</portlet:actionURL>">
			|&lt;
		</a>
		&nbsp;&nbsp;	
	</c:if>

	<!-- previous page -->
	<c:if test="${page>0}">
		<a href="<portlet:actionURL>
				<portlet:param name="action" value="SCROLL_PAGE"/>
		<portlet:param name="page" value="<%= 
		    Integer.toString(((Integer) request.getAttribute("page")).intValue() -1)
		    %>"/></portlet:actionURL>">&lt;&lt;</a>
		&nbsp;&nbsp;	
	</c:if>
	<c:out value="${page + 1}"></c:out>
	<!-- next page -->
	<c:if test="${morePages}">
		&nbsp;&nbsp;
		<a href="<portlet:actionURL>
		<portlet:param name="action" value="SCROLL_PAGE"/>
		<portlet:param name="page" value="<%=
		    Integer.toString(((Integer) request.getAttribute("page")).intValue() + 1)
		%>"/></portlet:actionURL>">&gt;&gt;</a>
	</c:if>
</div>